package caronas.controller;

import br.com.caelum.vraptor.Get;
import br.com.caelum.vraptor.Path;
import br.com.caelum.vraptor.Post;
import br.com.caelum.vraptor.Resource;
import caronas.modelo.Ponto;

@Resource
public class PontoController {
	@Get @Path("/ponto")
	public void form() {
		
	}
	
	@Post @Path("/ponto")
	public void adiciona(Ponto ponto) {
		System.out.println("mecheu: " + ponto);
	}
}
